package com.example.demo.service;

import com.example.demo.entity.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chen huilong
 * @since 2022-10-04
 */
public interface OrderInfoService extends IService<OrderInfo> {

    Map<String, Object> submitOrder(String access_token, HttpServletRequest request, String buildingId);

    void getAllOrder(String token);

    void getOrderResult(String token, String orderId);

    Map<String, Object> submitOrderWithRedis(String access_token, HttpServletRequest request, String buildingId);
}
